package com.ssm.service;

import com.ssm.domain.Permission;
import com.ssm.domain.Role;

import java.util.List;

public interface RoleService {
    List<Role> findAll();

    void save(Role role);

    Role findById(String id);

    List<Permission> findOtherPerm(String id);

    void addPermToRole(String id, List<String> ids);
}
